import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import overall from './components/overall/overall';

import mySlot from "./components/slot/mySlot.vue";
import { Input } from 'element-ui';

Vue.config.productionTip = false;
// 全局组建
Vue.component("overall", overall);
Vue.component("mySlot", mySlot);
Vue.component(Input.name, Input);
Vue.config.errorHandler = function (err, vm, info) {
  console.log("%c页面渲染错误", "color:#FF0000");
  console.log(err);
  console.log("%c错误位置", "color:#FFC125");
  console.log(vm);
  console.log("%c错误类型", "color:#33ee33");
  console.log(info);
}
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');


